//
//  NSDate+Util.h
//  MobileCRM
//
//  Created by winter on 16/2/22.
//  Copyright © 2016年 江苏金恒信息科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Util)

/// format data string
///
/// @param format NSString*
/// @return formatStr NSString*
- (NSString *)convertToStringWithFormat:(NSString *)formatStr;

- (NSDateComponents *)wsCalcDate;

+ (NSDateComponents *)wsCalcOffsetBetween:(NSDate *)dt1 dt2:(NSDate *)dt2;
@end
